<template>
  <div :class="{fullscreen:fullscreen}" class="tinymce-container" :style="{width:containerWidth}">
    <textarea :id="tinymceId" class="tinymce-textarea" />
  </div>
</template>

<script>
import editorMixin from '../common/editorMixin.js'
export default {
  mixins: [editorMixin],
  methods: {
    updateValueFn(editor) {
      this.$emit('update:value', editor.getContent())
    }
  }
}
</script>

<style scoped>
@import "../common/editor.css";
</style>
